package Decorator.abstarct;

public class NewFunctionalDecorator extends AbstarctDecorator{


    public NewFunctionalDecorator(Component component)
    {
        super(component);
    }

    @Override
    public void sampleOperation() {
        component.sampleOperation();
        System.out.println("新功能输出");
    }
}
